let files = import.meta.glob(["./component/*.vue", "./component/**/*.vue"]);
let cmpts = {};
Object.keys(files).map(key => {
    let cpmtName = key.split('/').pop()?.replace('.vue', '');
    files[key]().then(res => {
        cmpts[cpmtName] = res.default;
    })
})
export {
    cmpts
}

